#ifndef __CIRCURE_QUEUE_H__
#define __CIRCURE_QUEUE_H__

#define Q_GGA_LEN		128
#define Q_RTCM_LEN	2048

struct nema
{
	//char gga[Q_GGA_LEN];
	char rtcm[Q_RTCM_LEN];
};

struct queue
{
    struct nema * p_nema;
    int front, rear;
    int max_size;
    int deep;
};

void init(struct queue * dest, int max);
int empty(struct queue * dest);
int full(struct queue * dest);
void enqueue(struct queue * dest, char * src);
void dequeue(struct queue * dest, char * src);
void display(struct queue * dest);
void display_all(struct queue * dest);
void clean(struct queue * dest);




#endif /* __CIRCURE_QUEUE_H__ */
